package com.zhuss.team.db.dao.ext;

import com.zhuss.bean.bo.team.publish.SearchPublishBo;
import com.zhuss.bean.vo.DetailExampleVo;
import com.zhuss.bean.vo.team.publish.DetailPublishVo;
import com.zhuss.bean.vo.team.publish.ListPublishVo;
import com.zhuss.team.db.dao.gen.InvestPublishMapper;
import com.zhuss.team.db.entity.InvestPublish;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface InvestPublishDao extends InvestPublishMapper{

    void create(InvestPublish ip);

    void delete(InvestPublish ip);

    List<ListPublishVo> list(SearchPublishBo bo);

    Integer countList(SearchPublishBo bo);

    DetailPublishVo detail(@Param("publishId") Long publishId);
}